package org.jeecg.modules.wmhb.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 任务BOM
 * @Author: jeecg-boot
 * @Date:   2024-08-31
 * @Version: V1.0
 */
@Data
@TableName("wm_task_bom")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wm_task_bom对象", description="任务BOM")
public class WmTaskBom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**序号*/
    @Excel(name = "序号", width = 30)
    @ApiModelProperty(value = "序号")
    private java.lang.String seriesNo;
	/**任务ID*/
	@Excel(name = "任务ID", width = 15)
    @ApiModelProperty(value = "任务ID")
    private java.lang.String wmTaskId;
	/**物料名称*/
	@Excel(name = "物料名称", width = 30)
    @ApiModelProperty(value = "物料名称")
    private java.lang.String name;
	/**物料编码*/
	@Excel(name = "物料编码", width = 30)
    @ApiModelProperty(value = "物料编码")
    private java.lang.String code;
    /**规格型号*/
    @Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private java.lang.String specification;
    /**材质*/
    @Excel(name = "材质", width = 15)
    @ApiModelProperty(value = "材质")
    private java.lang.String material;
    /**工艺单号*/
    @Excel(name = "工艺单号", width = 15)
    @ApiModelProperty(value = "工艺单号")
    private java.lang.String processNo;
    /**物资去向*/
    @Excel(name = "物资去向", width = 15)
    @ApiModelProperty(value = "物资去向")
    private java.lang.String gotowhere;
    /**尺寸*/
    @Excel(name = "尺寸", width = 15)
    @ApiModelProperty(value = "尺寸")
    private java.lang.String size;
    /**单位*/
    @Excel(name = "单位", width = 15, dicCode = "unit_of_measure")
    @Dict(dicCode = "unit_of_measure")
    @ApiModelProperty(value = "单位")
    private java.lang.String unitOfMeasure;
	/**物料需求数量*/
	@Excel(name = "物料需求数量", width = 15)
    @ApiModelProperty(value = "物料需求数量")
    private java.lang.Double needNum;
	/**物料采购数量*/
	@Excel(name = "物料采购数量", width = 15)
    @ApiModelProperty(value = "物料采购数量")
    private java.lang.Double purchaseNum;
    /**物料到货数量*/
    @Excel(name = "物料到货数量", width = 15)
    @ApiModelProperty(value = "物料到货数量")
    private java.lang.Double arriveNum;
    /**物料退还数量*/
    @Excel(name = "物料退还数量", width = 15)
    @ApiModelProperty(value = "物料退还数量")
    private java.lang.Double returnNum;
    /**物料浪费数量*/
    @Excel(name = "物料浪费数量", width = 15)
    @ApiModelProperty(value = "物料浪费数量")
    private java.lang.Double wasteNum;
    /**单重*/
    @Excel(name = "单重")
    @ApiModelProperty(value = "单重")
    private Double singleWeight;
    /**总重*/
    @Excel(name = "总重")
    @ApiModelProperty(value = "总重")
    private Double totalWeight;

	/**采购开始时间*/
	@Excel(name = "采购开始时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "采购开始时间")
    private java.util.Date purchaseTime;
	/**物料到货时间*/
	@Excel(name = "物料到货时间", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "物料到货时间")
    private java.util.Date arriveTime;
	/**物料报料时间*/
	@Excel(name = "物料报料时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "物料报料时间")
    private java.util.Date orderTime;
    /**物料领取时间*/
    @Excel(name = "物料领取时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "物料领取时间")
    private java.util.Date consumeTime;
	/**技改ID*/
	@Excel(name = "技改ID", width = 15)
    @ApiModelProperty(value = "技改ID")
    private java.lang.String skillChangeId;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "task_bom_status")
	@Dict(dicCode = "task_bom_status")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
    /**物料类型*/
    @Excel(name = "物料类型", width = 15, dicCode = "item_type")
    @Dict(dicCode = "item_type")
    @ApiModelProperty(value = "物料类型")
    private java.lang.String itemType;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private java.lang.String tenantId;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**删除者*/
	@Excel(name = "删除者", width = 15)
    @ApiModelProperty(value = "删除者")
    private java.lang.String deleteBy;
	/**删除时间*/
	@Excel(name = "删除时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "删除时间")
    private java.util.Date deleteTime;
    /**名 称（材料）*/
    @Excel(name = "名 称", width = 15)
    @ApiModelProperty(value = "名 称")
    private java.lang.String mingCheng;
    /**材 料（材料和外购件）*/
    @Excel(name = "材 料", width = 15)
    @ApiModelProperty(value = "材 料")
    private java.lang.String caiLiao;
    /**规 格（材料）*/
    @Excel(name = "规 格", width = 15)
    @ApiModelProperty(value = "规 格")
    private java.lang.String guiGe;
    /**图号/国标及规格（外购件）*/
    @Excel(name = "图号/国标及规格", width = 15)
    @ApiModelProperty(value = "图号/国标及规格")
    private java.lang.String gbNumber;
    /**参数及其他要求（外购件）*/
    @Excel(name = "参数及其他要求", width = 15)
    @ApiModelProperty(value = "参数及其他要求")
    private java.lang.String otherRequire;
    /**当前BOM版本*/
    @Excel(name = "当前BOM版本", width = 15)
    @ApiModelProperty(value = "当前BOM版本")
    private java.lang.String currentVersion;
}
